package Interpreter_Pattern.Simple;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class NumberNode extends AbstractNode{
    private int value;
    public NumberNode(int value){
        this.value=value;
    }

    @Override
    public int result() {
        return value;
    }
}
